﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace QuickTasks.ViewModels.Properties
{
    public class AddressProp :INotifyPropertyChanged
    {
        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged;

        private void raisePropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        #endregion
        private string _id;
        public string Id
        {
            set { _id = value; }
            get { return _id; }
        }
        private string _name;
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        private string _address;
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        private string _city;
        public string City
        {
            set { _city = value; }
            get { return _city; }
        }
        private string _distance;
        public string Distance
        {
            set { _distance = value; }
            get { return _distance; }
        }
        private Visibility _visible1;
        public Visibility visible1
        {
            set { _visible1 = value; }
            get { return _visible1; }
        }
        private SolidColorBrush _colour;
        public SolidColorBrush colour
        {
            get
            {
                return _colour;
            }

            set
            {
                if (_colour == value)
                {
                    return;
                }

                _colour = value;


                raisePropertyChanged("colour");
            }
        }
       
    }
    public class AddressProp1
    {
        private string _id;
        public string Id
        {
            set { _id = value; }
            get { return _id; }
        }
        private string _address;
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
    }
        

    }

